package com.open.capacity.prints.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class AkzyExcelModel implements IExcelDataModel, IExcelModel {
    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;


    //流水号
    @Excel(name = "流水号",width = 20)
    private String lsh;

    //转出案号
    @Excel(name = "转出案号",width = 20)
    private String zcah;

    //转入案号
    @Excel(name = "转入案号",width = 20)
    private String zrah;

    //转出承办部门
    @Excel(name = "转出承办部门",width = 20)
    private String zccbbm;

    //转入承办部门
    @Excel(name = "转入承办部门",width = 20)
    private String zrcbbm;

    //原票据号码
    @Excel(name = "原票据号码",width = 20)
    private String ypjhm;

    //原缴款人
    @Excel(name = "原缴款人",width = 20)
    private String yjkr;

    //原到账金额
    @Excel(name = "原到账金额",width = 20)
    private BigDecimal ydzje;

    //转移金额
    @Excel(name = "转移金额",width = 20)
    private BigDecimal zyje;

    //转移日期
    @Excel(name = "转移日期",width = 20)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date zyrq;

    //序号
    @Excel(name = "序号",width = 20)
    private Integer xh;

    //案号代码
    @Excel(name = "案号代码",width = 20)
    private String ahdm;

    //编号
    @Excel(name = "编号",width = 20)
    private Integer bh;

    //法院代码
    @Excel(name = "法院代码",width = 20)
    private String fydm;

    //转出承办人
    @Excel(name = "转出承办人",width = 20)
    private String zccbr;

    //转入承办人
    @Excel(name = "转入承办人",width = 20)
    private String zrcbr;

    //调账人
    @Excel(name = "调账人",width = 20)
    private String tzr;

    //更新日期
    @Excel(name = "更新日期",width = 20)
    private Date lastupdate;

    @Excel(name = "调账日期",width = 20)
    private Date stam;

    //调账原因
    @Excel(name = "调账原因",width = 20)
    private String tzyy;

    //是否生成会计凭证
    @TableField(exist = false)
    private Integer buildKjpz;

    //会计凭证id
    @TableField(exist = false)
    private String kjpzid;

    //状态
    private Integer status;
}
